package com.flyco.common.util;


import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class commonUtil {

    public static Map<String, String[]> moveMapItem(Map<String, String[]> paramMap, String key) {

        Map<String, String[]> newParamMap = new HashMap<>();
        Set<Map.Entry<String, String[]>> entries = paramMap.entrySet();
        for (Map.Entry<String, String[]> entry : entries) {
            //去掉默认的以createTime排序的功能
            if (!entry.getKey().equals(key)) {
                newParamMap.put(entry.getKey(), entry.getValue());
            }
        }
        return newParamMap;
    }
}
